package com.xbongbong.pro.constant;

/**
 * 基础套餐
 */
public class BasePackageConstant {

    /**
     * 免费版
     */
    public static class FreePackage extends StandardPackage {

        /**
         * 单表单数据量
         */
        public static final Double ONE_FORM_DATA_NUM = 0.001;

        /**
         * 总表单数据量
         */
        public static final Double TOTAL_FORM_DATA_NUM = 0.1;
        /**
         * 工作流
         */
        public static final Integer WORKFLOW = 1000;
        /**
         * 自定义首页
         */
        public static final Integer HOME_PAGE_NUM = 0;
        /**
         * 数据集
         */
        public static final Integer DATA_SET_NUM = 0;
    }

    /**
     * 标准版
     */
    public static class StandardPackage {
        /**
         * 自定义应用数
         */
        public static final Integer CUSTOM_APPLICATION_NUM = 0;

        /**
         * 自定义表单数
         */
        public static final Integer CUSTOM_FORM_NUM = 0;

        /**
         * 自定义流程
         */
        public static final Integer CUSTOM_FLOW_NUM = 10000;

        /**
         * 智能报表数
         */
        public static final Integer CUSTOM_CHART_NUM = 0;

        /**
         * 智能助手数
         */
        public static final Integer SFA_NUM = 5;

        /**
         * 单表单数据量
         */
        public static final Double ONE_FORM_DATA_NUM = 30.0;

        /**
         * 总表单数据量
         */
        public static final Double TOTAL_FORM_DATA_NUM = 70.0;

        /**
         * 存储量
         */
        public static final Integer CAPACITY_NUM = 200;

        /**
         * API接口
         */
        public static final Integer API_NUM = 0;

        /**
         * 业务规则
         */
        public static final Integer BUSINESS_RULES_NUM = 0;
        /**
         * 工作流
         */
        public static final Integer WORKFLOW = 50000;
        /**
         * 自定义首页
         */
        public static final Integer HOME_PAGE_NUM = 0;
        /**
         * 数据集
         */
        public static final Integer DATA_SET_NUM = 0;
    }
    /**
     * 高级版
     */
    public static class AdvancedPackage {
        /**
         * 自定义应用数
         */
        public static final Integer CUSTOM_APPLICATION_NUM = 0;

        /**
         * 自定义表单数
         */
        public static final Integer CUSTOM_FORM_NUM = 10;

        /**
         * 自定义流程
         */
        public static final Integer CUSTOM_FLOW_NUM = 10000;

        /**
         * 智能报表数
         */
        public static final Integer CUSTOM_CHART_NUM = 10;

        /**
         * 智能助手数
         */
        public static final Integer SFA_NUM = 15;

        /**
         * 单表单数据量
         */
        public static final Double ONE_FORM_DATA_NUM = 30.0;

        /**
         * 总表单数据量
         */
        public static final Double TOTAL_FORM_DATA_NUM = 90.0;

        /**
         * 存储量
         */
        public static final Integer CAPACITY_NUM = 250;

        /**
         * API接口
         */
        public static final Integer API_NUM = 0;

        /**
         * 业务规则
         */
        public static final Integer BUSINESS_RULES_NUM = 5;
        /**
         * 工作流
         */
        public static final Integer WORKFLOW = 100000;
        /**
         * 自定义首页
         */
        public static final Integer HOME_PAGE_NUM = 0;
        /**
         * 数据集
         */
        public static final Integer DATA_SET_NUM = 0;
    }

    /**
     * 旗舰版
     */
    public static class UltimatePackage {
        /**
         * 自定义应用数
         */
        public static final Integer CUSTOM_APPLICATION_NUM = 10000;

        /**
         * 自定义表单数
         */
        public static final Integer CUSTOM_FORM_NUM = 10000;

        /**
         * 自定义流程
         */
        public static final Integer CUSTOM_FLOW_NUM = 10000;

        /**
         * 智能报表数
         */
        public static final Integer CUSTOM_CHART_NUM = 100;

        /**
         * 智能助手数
         */
        public static final Integer SFA_NUM = 30;

        /**
         * 单表单数据量
         */
        public static final Double ONE_FORM_DATA_NUM = 30.0;

        /**
         * 总表单数据量
         */
        public static final Double TOTAL_FORM_DATA_NUM = 150.0;

        /**
         * 存储量
         */
        public static final Integer CAPACITY_NUM = 400;

        /**
         * API接口
         */
        public static final Integer API_NUM = 0;

        /**
         * 业务规则
         */
        public static final Integer BUSINESS_RULES_NUM = 50;
        /**
         * 工作流 不限制
         */
        public static final Integer WORKFLOW = Integer.MAX_VALUE;
        /**
         * 自定义首页
         */
        public static final Integer HOME_PAGE_NUM = 50;
        /**
         * 数据集
         */
        public static final Integer DATA_SET_NUM = 10;
    }
}
